package com.niiwoo.civet.mobile.vo.response.invest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by lujing on 2018/5/12.
 */
@Getter
@Setter
@ApiModel("投资列表响应")
public class InvestOrderStatusVO {
    @ApiModelProperty(value = "用户头像", required = true)
    private String headImg;
    @ApiModelProperty(value = "用户昵称", required = true)
    private String nickName;
    @ApiModelProperty(value = "借款期限", required = true)
    private Integer deadline;
    @ApiModelProperty(value = "借款期限单位-1月，2天", required = true)
    private Byte deadlineUnit;
    @ApiModelProperty(value = "借款利率", required = true)
    private BigDecimal borrowRate;
    @ApiModelProperty(value = "标的加息", required = true)
    private BigDecimal addRate;
    @ApiModelProperty(value = "订单状态1投资中,2回款中,3回款逾期,4已关闭,5已结清,6转让中,7已转让,8已提前结清", required = true)
    private Byte status;
    @ApiModelProperty(value = "投资本金", required = true)
    private BigDecimal amount;
    @ApiModelProperty(value = "预期收益", required = true)
    private BigDecimal interest;
    @ApiModelProperty(value = "提交时间/订单关闭时间", required = true)
    private Date time;
    @ApiModelProperty(value = "订单编号", required = true)
    private Long orderId;
    @ApiModelProperty(value = "标的类型-1:社保贷，2:信用卡贷，3:房抵贷，4:车抵贷，5:供应链贷，6:债转标，7：极速贷，9:其他，10:消费贷，11:生意贷", required = true)
    private Byte productType;
    @ApiModelProperty(value = "标的类型描述 社保贷，信用卡贷，房抵贷，车抵贷，供应链贷，债转标，极速贷，其他,消费贷,生意贷", required = true)
    private String productTypeDesc;
    @ApiModelProperty(value = "是否可以追加投资0是,1否", required = true)
    private Byte isCanInvest;
    @ApiModelProperty(value = "逾期提示文案", required = true)
    private String overdueMsg;
    @ApiModelProperty(value = "标的ID", required = true)
    private Long projectId;
    @ApiModelProperty(value = " 实际收益(实收利息+实收加息)", required = true)
    private BigDecimal repayInterest;

    @ApiModelProperty(value = "剩余期数月(债转标使用)", required = true)
    private Integer remainingDeadlineMonth;
    @ApiModelProperty(value = "剩余期数天(债转标使用)", required = true)
    private Integer remainingDeadlineDay;

    @ApiModelProperty(value = "是否企业标-企业标头像展示本地图片(true:企业标;false:非企业标)", required = true)
    private Boolean isEnterpriseProject;

    @ApiModelProperty(value = "借款类型为其它的标签是否展示(true:展示;false:不展示)", required = true)
    private Boolean isShowOtherLoanTypeLabel;
}
